SpeedBooster\SBP_JS_Optimizer S

Total Complexity 44
Dependencies 1
Dependents 1
Total lines 354
Lines of code 132
Logical lines of code 79
Comment lines 87
Methods 11
Properties 13

Methods 11

Method Rating Maintainability Complexity Lines of code
remove_excluded_scripts()
A
51 11 27
remove_footer_excluded_scripts()
S
61 5 12
check_script_types()
S
58 4 15
__construct()
S
60 4 11
convert_inline_to_base64()
S
61 4 11
optimize_scripts()
S
58 3 17
replace_comments_with_placeholders()
S
63 3 10
replace_placeholders_with_comments()
S
66 3 8
add_defer_attribute()
S
64 3 9
find_scripts_without_defer()
S
70 2 6
move_scripts()
S
69 2 6